from django.contrib import admin

# Register your models here.

from .models import NewsInfo


class NewsInfoManager(admin.ModelAdmin):
    list_display = ['news_name', 'news_initiator', 'news_status']
    list_display_links = ['news_name']
    list_editable = ['news_status']
    search_fields = ['news_name', 'news_initiator_phone']


admin.site.register(NewsInfo, NewsInfoManager)
